home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / SourceCode / MiniExamples / ScrollTiff / TiffDocView.h < prev    next >
Encoding:
Text File  |  1991-03-21  |  651 b   |  23 lines

  1. /*TiffDocView.h
  2.  *   
  3.  * This header file defines the TiffDocView, which is the DocView of the
  4.  * ScrollView in the application's main Window.   TiffDocView has one instance
  5.  * variable, which allows it to communicate with the NXImage being displayed in
  6.  * the ScrollView.   
  7.  * 
  8.  *  You may freely copy, distribute, and reuse the code in this example.
  9.  *  NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  10.  *  fitness for any particular use.
  11.  */
  12.  
  13. #import <appkit/View.h>
  14.  
  15. @interface TiffDocView:View
  16. {
  17.     id docImage;    /* This holds the id of the NXImage being displayed. */
  18. }
  19.  
  20. - readImageFile: (const char *)imageFile;
  21.  
  22. @end
  23.